<?php
$_->extend('layout');
$_->set('title', $post->getTitle());
?>
<h1><?php echo $post->getTitle() ?></h1>
<a class="edit" href="<?php echo $urlTo('post.edit', $post) ?>"
    title="<?php _x("Edit '%s'", $post->getTitle()) ?>">
    <?php _e('edit') ?></a>
<?php echo $post->getContents() ?>